package com.gaofei.user.controller;

import com.gaofei.common.domain.User;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : gaofee
 * @date : 11:33 2021/5/26
 * @码云地址 : https://gitee.com/itgaofee
 */
@RequestMapping("sys")
@RestController
@Api("系统相关的接口")
public class SysController {

    @GetMapping("/list")
    @ApiOperation(value="根据用户查询列表",notes="对查询条件校验")
    public Object list(User user){
        return user;
    }
}
